package com.zr.repertory.affiliation.service.impl;

import com.zr.repertory.affiliation.mapper.WareLocationMapper;
import com.zr.repertory.affiliation.model.pojo.QueryLocationVo;
import com.zr.repertory.affiliation.model.pojo.WareLocation;
import com.zr.repertory.affiliation.service.WareLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName WareLocationServiceImpl
 * @Description TODO
 * @Author Jiakui_Ma
 * @Date 2019/11/22 6:32
 */
@Service
public class WareLocationServiceImpl implements WareLocationService {

    @Autowired
    private WareLocationMapper wareLocationMapper;

    /**
     * 根据wareHouseId库房id 、storageSectionIdList 库区id集合
     * @param queryLocationVo
     * @return
     */
    @Override
    public List<WareLocation> queryWareLocation(QueryLocationVo queryLocationVo) {
        return wareLocationMapper.queryWareLocation(queryLocationVo);
    }
}
